package ysq.xyg.base.extend.ehcache;

import ysq.xyg.host.model.dto.HostCityDto;
import ysq.xyg.host.model.dto.HostNoticeTypeDto;
import ysq.xyg.host.model.dto.HostPriceSearchDto;
import ysq.xyg.host.model.po.HostBanner;
import ysq.xyg.sys.model.po.SysDictContent;
import ysq.xyg.web.model.dto.WebAppMenuDto;
import ysq.xyg.web.model.po.WebAppMenu;
import ysq.xyg.web.model.po.WebConfig;

import java.util.List;

/**
 * 缓存
 *
 * @author taocongcong
 * @create 2019-04-11 17:19
 */
public interface EhCacheService {

    List<SysDictContent> selectSysDictContentList();

    List<WebAppMenuDto> selectWebAppMenuList(String accountId, String scopeType);

    WebConfig selectWebConfigByAccountId(String accountId);

    List<HostCityDto> selectHostCityList(String accountId);

    String cacheSysConfigContentByCode(String code);

    List<HostBanner> selectHostBannerList(String cityId);

    List<HostPriceSearchDto> selectHostPriceSearchList(String cityId);

    List<HostNoticeTypeDto> selectHostNoticeTypeList(String accountId);
}
